<?php
/**
 * @Module: 响应层模块
 * @Author: Veris
 * @Date:   2015-12-13 20:25:09
 * @Last Modified by:   Veris
 * @Last Modified time: 2016-04-06 15:42:22
 */

    $params=$_GET;
    $module     =$params['m']=isset($_GET['m']) && !empty($_GET['m']) ? $_GET['m'] : 'Index';
    $controller =$params['c']=isset($_GET['c']) && !empty($_GET['c']) ? $_GET['c'] : 'index';
    $action     =$params['a']=isset($_GET['a']) && !empty($_GET['a']) ? $_GET['a'] : 'index';
    unset($params['m']);
    unset($params['c']);
    unset($params['a']);

    //加载控制器
    C($module,$controller,$action,$params);
    